package com.atguigu.zuoye2;


import java.math.BigDecimal;

/**
 * @Description: 第一题
 * @Author: Hank
 * @Date: 2025/2/11 15:52
 */

public class Addition {
    public static void main(String[] args) {
        BigDecimal num = new BigDecimal("10");
        BigDecimal price = new BigDecimal("9.99");
        BigDecimal total = num.add(price);
        System.out.println("total:" + total);
    }
}
